package com.learning.spring.ioc.bean.xml.manager;

/**
 * ClassName: ManagerBean
 * Description: Bean 类
 * Date: 2018/7/26 10:00 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public class ManagerBean {

    private String name;

    public ManagerBean() {
        System.out.println("我被实例化了");
    }

    public void save() {
        System.out.println("~~ save 方法 ~~");
    }

    public void setName(String name) {
        this.name = name;
    }

    private void init() {
        System.out.println("初始化方法");
    }

    private void destroy() {
        System.out.println("销毁方法");
    }
}


